<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                template="#{webContext.skin0Culomns}"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core">

    <ui:define name="center">

        <h:form id="addForm">
            <p:growl globalOnly="true" id="messages" showDetail="true"/>
            <p:toolbar>
                <p:toolbarGroup align="left">

                    <p:commandButton type="submit"
                                     value="#{ml.tr('Save')}"
                                     image="ui-icon-disk"
                                     actionListener="#{fyxAtributes.save()}"
                                     update="messages"/>
                    <p:divider />

                </p:toolbarGroup>


            </p:toolbar>


            <h:panelGrid columns="2">
                <h:outputText value="#{ml.tr('Decimal separator')}: " />
                <p:inputText value="#{fyxAtributes.decimalSeparator.value}" />

                <h:outputText value="#{ml.tr('Date format')}: " />
                <p:inputText value="#{fyxAtributes.dateFormat.value}" />

                <h:outputText value="#{ml.tr('Currency')}: " />
                <p:inputText value="#{fyxAtributes.currency.value}" />
                
                <h:outputText value="#{ml.tr('ISO language')}: " />
                <p:inputText value="#{fyxAtributes.isoLanguage.value}"
                             title="lowercase two-letter ISO-639 code like en, de, cs"/>

            </h:panelGrid>

        </h:form>
    </ui:define>

</ui:composition>
